﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WellBuilt.Model
{
    /// <summary>
    /// 焊接吊车梁计算
    /// </summary>
    #region 焊接吊车梁计算-传入参数
    public class CraneBeamIn
    {
        #region 吊车参数
        /// <summary>
        /// 吊车跨度
        /// </summary>
        public double DC_Span { get; set; }
        /// <summary>
        /// 主钩起吊重量
        /// </summary>
        public double ZJ_Weight { get; set; }
        /// <summary>
        /// 副钩起吊重量
        /// </summary>
        public double FJ_Weight { get; set; }
        /// <summary>
        /// 吊车宽度
        /// </summary>
        public double DC_Width { get; set; }
        /// <summary>
        /// 吊车轮距
        /// </summary>
        public double DC_Tread { get; set; }
        /// <summary>
        /// 小车重量
        /// </summary>
        public double XC_Weight { get; set; }
        /// <summary>
        /// 吊车总重
        /// </summary>
        public double DC_TotalWeight { get; set; }
        /// <summary>
        /// 最大轮压
        /// </summary>
        public double MaxWheelLoad { get; set; }
        /// <summary>
        /// 梁钢材牌号
        /// </summary>
        public string SteelMarks { get; set; }
        /// <summary>
        /// 轨道型号
        /// </summary>
        public string OrbitModel { get; set; }
        /// <summary>
        /// 是否均布荷载
        /// </summary>
        public bool EvenLoad { get; set; }
        /// <summary>
        /// 是否作用在上翼缘
        /// </summary>
        public bool UpperWing { get; set; }
        #endregion

        #region 截面参数
        /// <summary>
        /// 梁高度
        /// </summary>
        public double BeamHeight { get; set; }
        /// <summary>
        /// 腹板厚度
        /// </summary>
        public double FB_Thickness { get; set; }
        /// <summary>
        /// 翼缘厚度
        /// </summary>
        public double YY_Thickness { get; set; }
        /// <summary>
        /// 上缘宽度
        /// </summary>
        public double SY_Width { get; set; }
        /// <summary>
        /// 下缘宽度
        /// </summary>
        public double XY_Width { get; set; }
        /// <summary>
        /// 是否桥式吊车
        /// </summary>
        public bool BridgeCrane { get; set; }
        /// <summary>
        /// 孔径
        /// </summary>
        public double Aperture { get; set; }
        /// <summary>
        /// 中心距
        /// </summary>
        public double CenterDistance { get; set; }
        #endregion

        /// <summary>
        /// 加劲肋宽度
        /// </summary>
        public double JJL_Width { get; set; }
        /// <summary>
        /// 加劲肋厚度
        /// </summary>
        public double JJL_Thickness { get; set; }
        /// <summary>
        /// 加劲肋φ
        /// </summary>
        public double JJL_φ { get; set; }
        /// <summary>
        /// 横向加劲肋间距
        /// </summary>
        public double HX_Spacing { get; set; }
        /// <summary>
        /// 横向加劲肋宽度
        /// </summary>
        public double HX_Width { get; set; }

    }
    #endregion

    #region 焊接吊车梁计算-传出参数
    public class CraneBeamOut
    {
        /// <summary>
        /// 上翼缘正应力
        /// </summary>
        public string QD_SYY { get; set; }
        /// <summary>
        /// 上翼缘正应力计算值
        /// </summary>
        public double QD_SYYCalculated { get; set; }
        /// <summary>
        /// 上翼缘正应力容许值
        /// </summary>
        public double QD_SYYAdmissible { get; set; }
        /// <summary>
        /// 下翼缘正应力
        /// </summary>
        public string QD_XYY { get; set; }
        /// <summary>
        /// 下翼缘正应力计算值
        /// </summary>
        public double QD_XYYCalculated { get; set; }
        /// <summary>
        /// 下翼缘正应力容许值
        /// </summary>
        public double QD_XYYAdmissible { get; set; }
        /// <summary>
        /// 平板支座剪应力
        /// </summary>
        public string QD_PB { get; set; }
        /// <summary>
        /// 平板支座剪应力计算值
        /// </summary>
        public double QD_PBCalculated { get; set; }
        /// <summary>
        /// 平板支座剪应力容许值
        /// </summary>
        public double QD_PBAdmissible { get; set; }
        /// <summary>
        /// 腹板局部压应力
        /// </summary>
        public string QD_FB { get; set; }
        /// <summary>
        /// 腹板局部压应力计算值
        /// </summary>
        public double QD_FBCalculated { get; set; }
        /// <summary>
        /// 腹板局部压应力容许值
        /// </summary>
        public double QD_FBAdmissible { get; set; }
        /// <summary>
        /// 整体稳定性
        /// </summary>
        public string ZTWDX { get; set; }
        /// <summary>
        /// 整体稳定性计算值
        /// </summary>
        public double ZTWDX_Calculated { get; set; }
        /// <summary>
        /// 整体稳定性容许值
        /// </summary>
        public double ZTWDX_Admissible { get; set; }
        /// <summary>
        /// 挠度
        /// </summary>
        public string ND { get; set; }
        /// <summary>
        /// 挠度计算值
        /// </summary>
        public double ND_Calculated { get; set; }
        /// <summary>
        /// 挠度容许值
        /// </summary>
        public double ND_Admissible { get; set; }
        /// <summary>
        /// 加劲肋端面承压
        /// </summary>
        public string DMCY { get; set; }
        /// <summary>
        /// 加劲肋端面承压计算值
        /// </summary>
        public double DMCY_Calculated { get; set; }
        /// <summary>
        /// 加劲肋端面承压容许值
        /// </summary>
        public double DMCY_Admissible { get; set; }

        /// <summary>
        /// 加劲肋稳定性
        /// </summary>
        public string JJLWDX { get; set; }
        /// <summary>
        /// 加劲肋稳定性计算值
        /// </summary>
        public double JJLWDX_Calculated { get; set; }
        /// <summary>
        /// 加劲肋稳定性容许值
        /// </summary>
        public double JJLWDX_Admissible { get; set; }
        /// <summary>
        /// 上翼缘与腹板的连接焊缝
        /// </summary>
        public double SYYHF { get; set; }
        /// <summary>
        /// 下翼缘与腹板的连接焊缝
        /// </summary>
        public double XYYHF { get; set; }
        /// <summary>
        /// 支座加劲肋与腹板的连接焊缝
        /// </summary>
        public double JJLHF { get; set; }
        /// <summary>
        /// 配置横向加劲肋
        /// </summary>
        public string PZHL { get; set; }
        /// <summary>
        /// 腹板局部稳定性
        /// </summary>
        public string FBWDX { get; set; }
        /// <summary>
        /// 腹板局部稳定性计算值
        /// </summary>
        public double FBWDX_Calculated { get; set; }
    }
    #endregion
}
